package PVZ;

import javax.swing.*;

public class Flagpolezombie extends Senobject{
    protected int speed ;

    Flagpolezombie() {
        super(166, 144, 3);
        speed+=10;
    }
    public ImageIcon getImage(){
        return Images.FlagZombie;
    }
    public void step(){
        x-=speed;
    }
    public void loseLife(){
        life--;
    }
}
